package com.hjcloud.feignmodulemysql.service;

import com.hjcloud.feignmodulemysql.hystric.GatewayInfoServiceHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: IceZhang
 * @Date: 2018/8/3 15:04
 * @Description:
 */

@FeignClient(value ="module-mysql" ,fallback = GatewayInfoServiceHystric.class)
public interface GatewayInfoService {

    @RequestMapping(value = "/test/page",method = RequestMethod.GET)
    String gateWayInfoPage();
}
